package com.scse.bms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.sql.Timestamp;

/**
 * @Title: Recommend
 * @Author: 吴赠禹
 * @Date: 2021/2/22 20:11
 * @Version: 1.0
 * @Description: 推荐实体：对应推荐表（t_recommend）
 */


@Getter
@Setter
@ToString
@TableName("t_recommend")
public class RecommendDO {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer adminId;
    private Integer bookId;
    private Timestamp time;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

}
